$OpenBSD: patch-i3bar_i3bar_mk,v 1.1 2012/09/21 17:16:14 dcoppa Exp $
--- i3bar/i3bar.mk.orig	Fri Sep 21 11:43:45 2012
+++ i3bar/i3bar.mk	Fri Sep 21 11:44:13 2012
@@ -21,7 +21,7 @@ i3bar/i3bar: libi3.a $(i3bar_OBJECTS)
 install-i3bar: i3bar/i3bar
 	echo "[i3bar] Install"
 	$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/bin
-	$(INSTALL) -m 0755 i3bar/i3bar $(DESTDIR)$(PREFIX)/bin/
+	${INSTALL_PROGRAM} i3bar/i3bar $(DESTDIR)$(PREFIX)/bin/
 
 clean-i3bar:
 	echo "[i3bar] Clean"
